package Fly;

import java.awt.image.BufferedImage;

public class BigPlane extends FlyObject{
    private int xSpeed;
    private int ySpeed;

    public int getxSpeed() {
        return xSpeed;
    }

    public void setxSpeed(int xSpeed) {
        this.xSpeed = xSpeed;
    }

    public int getySpeed() {
        return ySpeed;
    }

    public void setySpeed(int ySpeed) {
        this.ySpeed = ySpeed;
    }

    public BufferedImage[] images;
    @Override
    public void remove() {
        x+=xSpeed;
        y+=ySpeed;
    }

    @Override
    public boolean isout() {
        if(y>650&x>400) {
            return true;
        } else {
            return false;
        }
    }
}
